package initialize

import (
	"kurbrick.com/test-web-server/router"

	"github.com/gin-gonic/gin"
)

func Routers() *gin.Engine {
	Router := gin.Default()
	// 配置全局路径
	ApiGroup := Router.Group("/api/v1")
	// 注册路由
	router.InitUserRouter(ApiGroup)
	return Router
}
